﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FSY.API.Files
{
    class Fsy_FileInfo
    {
        private string _FileName = "";
        public string FileName
        {
            get { return _FileName; }
            set { _FileName = value; }
        }

        private long _Size = 0;
        public long Size
        {
            get { return _Size; }
            set { _Size = value; }
        }

        private DateTime _DateModified;
        public DateTime DateModified
        {
            get { return _DateModified; }
            set { _DateModified = value; }
        }
        private DateTime _DateCreated;
        public DateTime DateCreated
        {
            get { return _DateCreated; }
            set { _DateCreated = value; }
        }

        private string _FullName = "";
        public string FullName
        {
            get { return _FullName; }
            set { _FullName = value; }
        }
        private string _ContentType = "";
        public string ContentType
        {
            get { return _ContentType; }
            set { _ContentType = value; }
        }      
        private int _PortalID;
        public int PortalID
        {
            get { return _PortalID; }
            set { _PortalID = value; }
        }
        public Fsy_FileInfo()
        { }
        public Fsy_FileInfo(string fileName, string fullName, long size, DateTime dateCreated, DateTime dateModified)
        {
            this.FileName = fileName;
            this.FullName = fullName;
            this.Size = size;
            this.DateCreated = dateCreated;
            this.DateModified = dateModified;
           
        }
        public Fsy_FileInfo(string fileName, string fullName, long size, DateTime dateCreated, DateTime dateModified, int portalID)
        {
            this.FileName = fileName;
            this.FullName = fullName;
            this.Size = size;
            this.DateCreated = dateCreated;
            this.DateModified = dateModified;            
            this.PortalID = portalID;
        }
    }
}
